package com.bky.service.impl;

import com.bky.dao.UserMapper;
import com.bky.model.User;
import com.bky.service.UserService;
import org.springframework.stereotype.Service;

/**
 * @Author shipeilei
 * @Date Created on 2018/5/3
 */
@Service
public class UserServiceImpl extends BaseServiceImpl implements UserService{
    @Override
    public User getUserByName(String userName) {
        return this.getWriteMapper(UserMapper.class).selectByName(userName);
    }
}
